<template>
  <AppDialog
    :title="props.editId ? '详情' : '详情'"
    @closed="handleDialogClosed"
    @open="handleDialogOpen"
    :confirm="handleSubmit">
    <!-- {{ videoDetail }} -->
    <el-row>
      <el-col :span="24">
        <el-card :body-style="{ padding: '0px' }">
          <video
            src="http://vd3.bdstatic.com/mda-mkfc4bbhqbsdm2bb/cae_h264/1637052445449575651/mda-mkfc4bbhqbsdm2bb.mp4"
            controls="controls"
            width="800"></video>
          <div style="padding: 14px">
            <div class="bottom">
              <time class="time">{{ videoDetail.title }}</time>
            </div>
          </div>
        </el-card>
      </el-col>
    </el-row>
  </AppDialog>
</template>
<script setup>
const eimt = defineEmits(['closeDialog'])

const props = defineProps({
  videoDetail: {
    type: Object,
    default: {}
  }
})

// 弹框打开
const handleDialogOpen = () => {
  // loadUser()
}
</script>
